<template>
	<button class="wechar" open-type="contact"
		:style="[{backgroundImage: `url(${item.params.icon})`},{width:item.params.size+'px'},{height:item.params.size+'px'},{right:item.params.right+'px'},{bottom:item.params.bottom+'px'}]"></button>
</template>

<script>
	export default {
		name: "wlk-wechar",
		props: ['item'],
		data() {
			return {

			};
		}
	}
</script>

<style scoped lang="scss">
	.wechar {
		z-index: 1;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		position: fixed;
	}
</style>